package com.fate.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/** 角色菜单映射表 @TableName sys_role_menu */
@TableName(value = "sys_role_menu")
@Data
public class RoleMenu implements Serializable {
  @Serial
  @TableField(exist = false)
  private static final long serialVersionUID = 1L;

  /** id */
  @TableId private String id;

  /** 角色id */
  private String roleId;

  /** 菜单id */
  private String menuId;

  /** 租户id */
  private String tenantId;

  /** 创建时间 */
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime gmtCreate;

  /** 修改时间 */
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime gmtModified;
}
